package com.miracle9.game.entity;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class Activity extends BaseEntity {

    private String name="";
    private String contentTitle="";
    private int type;
    private String content = "";
    @Column(updatable = false)
    private String contentEn = "";
    private int awardGold;
    private String datetime = "";
    private int condition1;
    private int condition2;
    private int condition3;

    public Activity(int type, String content, String contentEn, int awardGold, String datetime, int condition1, int condition2, int condition3) {
        this.type = type;
        this.content = content;
        this.contentEn = contentEn;
        this.awardGold = awardGold;
        this.datetime = datetime;
        this.condition1 = condition1;
        this.condition2 = condition2;
        this.condition3 = condition3;
    }

    public Activity() {
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getContentTitle() {
        return contentTitle;
    }
    public void setContentTitle(String contentTitle) {
        this.contentTitle = contentTitle;
    }
    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContentEn() {
        return this.contentEn;
    }

    public void setContentEn(String contentEn) {
        this.contentEn = contentEn;
    }

    public int getAwardGold() {
        return this.awardGold;
    }

    public void setAwardGold(int awardGold) {
        this.awardGold = awardGold;
    }

    public int getType() {
        return this.type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getDatetime() {
        return this.datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    public int getCondition1() {
        return this.condition1;
    }

    public void setCondition1(int condition1) {
        this.condition1 = condition1;
    }

    public int getCondition2() {
        return this.condition2;
    }

    public void setCondition2(int condition2) {
        this.condition2 = condition2;
    }

    public int getCondition3() {
        return this.condition3;
    }

    public void setCondition3(int condition3) {
        this.condition3 = condition3;
    }

    public String toString() {
        return "Activity [type=" + this.type + ", content=" + this.content + ", contentEn=" + this.contentEn + ", awardGold=" + this.awardGold + ", datetime=" + this.datetime + ", condition1=" + this.condition1 + ", condition2=" + this.condition2 + ", condition3=" + this.condition3 + "]";
    }

}
